#!/bin/bash


for i in {10..1}  
do  
	#echo $(expr $i);  
	printf '%02d\r' $i
	sleep 1
done  
printf '\n'

#echo '1'|sudo -S pm-hibernate
echo '1'|sudo -S poweroff

